From 262ac4247ac420c6c1ed4f3169d5eb4c0a3efbfd Mon Sep 17 00:00:00 2001 From: =?utf8?q?Timm=20B=C3=A4der?= Date: Tue, 7 Jan 2020 17:14:32 +0100 Subject: [PATCH] testsuite: Add a testcase for blend nodes with invisible children --- .../gsk/compare/blend-invisible-child.node | 25 ++++++++++++++++++ .../gsk/compare/blend-invisible-child.png | Bin 0 -> 221 bytes testsuite/gsk/meson.build | 1 + 3 files changed, 26 insertions(+) create mode 100644 testsuite/gsk/compare/blend-invisible-child.node create mode 100644 testsuite/gsk/compare/blend-invisible-child.png diff --git a/testsuite/gsk/compare/blend-invisible-child.node b/testsuite/gsk/compare/blend-invisible-child.node new file mode 100644 index 0000000000..24981ca589 --- /dev/null +++ b/testsuite/gsk/compare/blend-invisible-child.node @@ -0,0 +1,25 @@ +blend { + top: color { + bounds: 0 0 50 50; + color: red; + } + bottom: color { + bounds: 25 25 0 10; + color: blue; + } + mode: multiply; +} + + +blend { + top: color { + bounds: 25 85 0 10; + color: blue; + } + bottom: color { + bounds: 0 60 50 50; + color: red; + } + + mode: multiply; +} diff --git a/testsuite/gsk/compare/blend-invisible-child.png b/testsuite/gsk/compare/blend-invisible-child.png new file mode 100644 index 0000000000000000000000000000000000000000..cbdb30c30d03f6184c80f4329fce388208d9cddb GIT binary patch literal 221 zcmeAS@N?(olHy`uVBq!ia0vp^MnIg$!3HE#iydr%6kC$Fy9>jA5L~c#`DCETBu^K| zkcv5PZyn@4U?6aKgZKCQma&UmTN>sZ_*MOOrmc8|AODZ82~vutPFXEiI93VdWkoE|bqt=aelF{r5}E*R%uH4Q literal 0 HcmV?d00001 diff --git a/testsuite/gsk/meson.build b/testsuite/gsk/meson.build index f82bfaef15..aadc40642b 100644 --- a/testsuite/gsk/meson.build +++ b/testsuite/gsk/meson.build @@ -63,6 +63,7 @@ compare_render_tests = [ 'repeat-negative-coords', 'inset-shadow-multiple', 'borders-rotated', + 'blend-invisible-child', ] # these are too sensitive to differences in the renderers -- 2.30.2